package com.cn;

import com.cn.lb.config.RuleConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

/**
 * @author: chenyuncong
 * @Date: 2019/11/21 18:08
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class ServiceProviderApplication {
//    @Bean
//    public RuleConfig ruleConfig(){
//        return new RuleConfig();
//    }
    public static void main(String[] args) throws Exception {
        SpringApplication.run(ServiceProviderApplication.class, args);
    }
}
